﻿<%@ Page Language="C#" MasterPageFile="~/SubForm.Master" AutoEventWireup="true" CodeBehind="EditUser.aspx.cs"
    Inherits="PreContractWeb.Administration.EditUser" Title="EditUser Page" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="divError" runat="server" visible="false">
    </div>
    <div id="divConnect" runat="server" style="text-align: center">
        <table width="95%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="left" height="50" valign="middle">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" height="45">
                        <tr>
                            <td rowspan="3" width="50">
                                <img class="ContentTitle" border="0" />
                            </td>
                            <td colspan="2" style="height: 5px">
                                <asp:ScriptManager ID="ScriptManager1" runat="server">
                                </asp:ScriptManager>
                            </td>
                        </tr>
                        <tr>
                            <td width="200" height="30" class="ContentTitle">
                                <asp:Label ID="CNTitleLabel" runat="server"></asp:Label>用户信息<br />
                                (<asp:Label ID="ENTitleLabel" runat="server"></asp:Label>
                                User Information)
                            </td>
                            <td height="30" align="right">
                                <!--整体按钮-->
                                <asp:Button ID="SaveButton" runat="server" CssClass="bgButton" OnClick="SaveButton_Click"
                                    confirm="您确定要保存吗?\n\nAre you sure to save?" Text=" 保存(Save) " ToolTip="保存" />
                                <input id="CancelButton" class="bgButton" onclick="window.close();" type="button"
                                    value="取消(Cancel)" size="50" />
                                &nbsp;&nbsp;<!--整体按钮-->
                            </td>
                        </tr>
                        <tr>
                            <td height="10" valign="top">
                                <img class="ContentTitle" imgsource="../Images/BG-SubMenuTitle-A-" imgtype=".png"
                                    width="100%" height="3" />
                            </td>
                            <td height="10">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td width="100%" height="100%" valign="middle" align="center">
                    <br />
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="panel_header" style="width: 100%">
                                <!--标题-->
                                基本信息(Basic Information)<!--标题-->
                            </td>
                            <td width="5" rowspan="2" background="../Images/BG-Border-Right.png" valign="top">
                                <img src="../Images/BG-Border-RT.png" border="0" />
                            </td>
                        </tr>
                        <tr>
                            <td class="panel_body" style="width: 100%">
                                <!--Panel Body-->
                                <table style="width: 100%">
                                    <tr>
                                        <td style="text-align: left;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table style="width: 100%; height: 100%">
                                                <tr>
                                                    <td align="center" style="text-align: left;" valign="middle">
                                                        &nbsp;中文名:<br />
                                                        &nbsp;Chinese Name:
                                                    </td>
                                                    <td align="left" valign="middle">
                                                        <asp:Label ID="LabelCName" runat="server"></asp:Label>
                                                    </td>
                                                    <td align="left" valign="middle">
                                                        英文名:<br />
                                                        English Name:
                                                    </td>
                                                    <td align="left" valign="middle">
                                                        <asp:Label ID="LabelEName" runat="server"></asp:Label>
                                                    </td>
                                                    <td align="left" valign="middle">
                                                        AD账号:<br />
                                                        AD Account:
                                                    </td>
                                                    <td align="left" valign="middle">
                                                        <asp:Label ID="LabelCILAccount" runat="server"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td style="" colspan="6">
                                                        <table width="95%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td align="right" valign="middle" style="border-top: 1px; border-top-color: #BBBBBB;
                                                                    border-top-style: dashed; height: 1px;">
                                                                    <input id="Hidden7" type="hidden" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" style="text-align: left;" valign="top">
                                                        &nbsp;公司:<br />
                                                        &nbsp;Company:
                                                    </td>
                                                    <td align="left" valign="middle">
                                                        <asp:Label ID="LabelCompany" runat="server"></asp:Label>
                                                    </td>
                                                    <td align="left" valign="middle">
                                                        职位:<br />
                                                        Title:
                                                    </td>
                                                    <td align="left" valign="middle" colspan="3">
                                                        <asp:Label ID="LabelTitle" runat="server" Width="95%"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td style="" colspan="6">
                                                        <table width="95%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td align="right" valign="middle" style="border-top: 1px; border-top-color: #BBBBBB;
                                                                    border-top-style: dashed; height: 1px;">
                                                                    <input id="Hidden9" type="hidden" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" style="text-align: left;" valign="top">
                                                        &nbsp;工号:<br />
                                                        &nbsp;Badge:
                                                    </td>
                                                    <td align="left" valign="middle">
                                                        <asp:Label ID="LabelBadge" runat="server"></asp:Label>
                                                    </td>
                                                    <td align="left" valign="middle">
                                                        电话:<br />
                                                        Phone:
                                                    </td>
                                                    <td align="left" valign="middle" colspan="3">
                                                        <asp:Label ID="LabelPhone" runat="server"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td style="" colspan="6">
                                                        <table width="95%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td align="right" height="1" valign="middle" style="border-top: 1px; border-top-color: #BBBBBB;
                                                                    border-top-style: dashed;">
                                                                    <input id="Hidden8" type="hidden" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" style="text-align: left;" valign="top">
                                                        &nbsp;BD:
                                                    </td>
                                                    <td align="left" valign="middle">
                                                        <asp:Label ID="LabelBD" runat="server"></asp:Label>
                                                    </td>
                                                    <td align="left" valign="middle">
                                                        邮箱地址:<br />
                                                        Email:
                                                    </td>
                                                    <td align="left" valign="middle" colspan="3">
                                                        <asp:Label ID="LabelEmail" runat="server"></asp:Label>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                                <!---->
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td width="100%" height="100%" valign="middle" align="center">
                    <%-- <div id="divContent" style="overflow-x: hidden; overflow-y: scroll;" class="divScroll">--%>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="panel_header" style="width: 100%">
                                <!--标题-->
                                权限信息(permission Information)<!--标题-->
                            </td>
                            <td width="5" rowspan="2" background="../Images/BG-Border-Right.png" valign="top">
                                <img src="../Images/BG-Border-RT.png" border="0" />
                            </td>
                        </tr>
                        <tr>
                            <td class="panel_body" style="width: 100%">
                                <!--Panel Body-->
                                <table style="width: 100%">
                                    <tr>
                                        <td style="text-align: left;">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table style="width: 100%; height: 100%">
                                                <tr>
                                                    <td align="center" style="width: 20%; text-align: left" valign="middle">
                                                        &nbsp;用户角色:
                                                    </td>
                                                    <td align="left" style="width: 14%" valign="middle">
                                                        <asp:CheckBox ID="cbRoleAdmin" runat="server" AutoPostBack="True" OnCheckedChanged="cbRole_CheckedChanged" />
                                                    </td>
                                                    <td align="left" style="width: 14%" valign="middle">
                                                        <asp:CheckBox ID="cbRoleEditor" runat="server" AutoPostBack="True" OnCheckedChanged="cbRole_CheckedChanged" />
                                                    </td>
                                                    <td align="left" valign="middle" style="width: 14%">
                                                        <asp:CheckBox ID="cbRoleViewer" runat="server" AutoPostBack="True" OnCheckedChanged="cbRole_CheckedChanged" />
                                                    </td>
                                                    <td align="left" valign="middle" style="width: 14%">
                                                        <asp:CheckBox ID="cbRoleRoleAdmin" runat="server" AutoPostBack="True" OnCheckedChanged="cbRole_CheckedChanged" />
                                                    </td>
                                                    <td align="left" valign="middle" style="width: 14%">
                                                        <asp:CheckBox ID="cbRoleCFI" runat="server" AutoPostBack="True" OnCheckedChanged="cbRole_CheckedChanged" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="center" style="width: 20%; text-align: left" valign="middle">
                                                    </td>
                                                    <td align="left" valign="middle" style="width: 14%">
                                                        <asp:CheckBox ID="cbRoleFeedbacker" runat="server" AutoPostBack="True" />
                                                    </td>
                                                    <td align="left" valign="middle" style="width: 14%">
                                                        <asp:CheckBox ID="cbRoleWeeklyViewer" runat="server" AutoPostBack="True" />
                                                    </td>
                                                    <td align="left" valign="middle" style="width: 14%">
                                                        <asp:CheckBox ID="cbRoleMonthlyViewer" runat="server" AutoPostBack="True" />
                                                    </td>
                                                    <td>
                                                    </td>
                                                    <td>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td style="" colspan="6">
                                                        <table width="95%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td align="right" valign="middle" style="border-top: 1px; border-top-color: #BBBBBB;
                                                                    border-top-style: dashed; height: 1px;">
                                                                    <input id="Hidden5" type="hidden" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr style="display: none">
                                                    <td align="left" style="width: 20%; text-align: left" valign="top">
                                                        &nbsp;人员主体:
                                                    </td>
                                                    <td align="left" valign="middle" style="width: 20%">
                                                        <asp:RadioButton ID="rbtAll" runat="server" Text="All" GroupName="rbtMain" />
                                                    </td>
                                                    <td align="left" style="width: 20%" valign="middle">
                                                        <asp:RadioButton ID="rbtASB" runat="server" Text="ASB" GroupName="rbtMain" />
                                                    </td>
                                                    <td align="left" style="width: 20%" valign="middle">
                                                        <asp:RadioButton ID="rbtLucent" runat="server" Text="Lucent" GroupName="rbtMain" />
                                                    </td>
                                                    <td>
                                                    </td>
                                                    <td>
                                                    </td>
                                                </tr>
                                                <tr style="display: none">
                                                    <td style="" colspan="6">
                                                        <table width="95%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td align="right" height="1" valign="middle" style="border-top: 1px; border-top-color: #BBBBBB;
                                                                    border-top-style: dashed;">
                                                                    <input id="Text1" type="hidden" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr style="display: none">
                                                    <td align="left" style="width: 20%; text-align: left" valign="top">
                                                        &nbsp;编写Comments:
                                                    </td>
                                                    <td align="left" style="width: 959px" valign="middle">
                                                        <asp:CheckBox ID="CommentsCheckBox" runat="server" />
                                                    </td>
                                                    <td align="left" style="width: 19%" valign="middle">
                                                    </td>
                                                    <td align="left" style="width: 316px" valign="middle">
                                                    </td>
                                                    <td>
                                                    </td>
                                                </tr>
                                                <tr style="display: none">
                                                    <td style="" colspan="6">
                                                        <table width="95%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td align="right" height="1" valign="middle" style="border-top: 1px; border-top-color: #BBBBBB;
                                                                    border-top-style: dashed;">
                                                                    <input id="Hidden1" type="hidden" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr style="display: none">
                                                    <td align="left" style="width: 20%; text-align: left" valign="top">
                                                        &nbsp;是否允许下载过期数据:
                                                    </td>
                                                    <td align="left" style="width: 959px" valign="middle">
                                                        <asp:CheckBox ID="DownloadChenckBox" runat="server" />
                                                    </td>
                                                    <td align="left" style="width: 19%" valign="middle">
                                                    </td>
                                                    <td align="left" style="width: 316px" valign="middle">
                                                    </td>
                                                    <td>
                                                    </td>
                                                    <td>
                                                    </td>
                                                </tr>
                                                <tr style="display: none">
                                                    <td style="" colspan="6">
                                                        <table width="95%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td align="right" height="1" valign="middle" style="border-top: 1px; border-top-color: #BBBBBB;
                                                                    border-top-style: dashed;">
                                                                    <input id="Hidden4" type="hidden" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" style="width: 20%; text-align: left" valign="top">
                                                        &nbsp;CAT:
                                                    </td>
                                                    <td colspan="5" align="left" style="width: 100%; text-align: left" valign="top">
                                                        <asp:UpdatePanel ID="UpdatePanelCat" runat="server" UpdateMode="Conditional">
                                                            <ContentTemplate>
                                                                <asp:CheckBox ID="cbCATAll" runat="server" Text="All" OnCheckedChanged="cbCATAll_CheckedChanged"
                                                                    AutoPostBack="True" Width="14%"></asp:CheckBox>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td style="" colspan="6">
                                                        <table width="95%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td align="right" height="1" valign="middle" style="border-top: 1px; border-top-color: #BBBBBB;
                                                                    border-top-style: dashed;">
                                                                    <input id="Hidden2" type="hidden" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" style="width: 20%; text-align: left" valign="top">
                                                        &nbsp;BD:
                                                    </td>
                                                    <td colspan="5" align="left" style="width: 100%; text-align: left" valign="top">
                                                        <asp:UpdatePanel ID="UpdatePanelBD" runat="server" UpdateMode="Conditional">
                                                            <ContentTemplate>
                                                                <asp:CheckBox ID="cbBDAll" runat="server" Text="All" OnCheckedChanged="cbBDAll_CheckedChanged"
                                                                    AutoPostBack="True" Width="14%"></asp:CheckBox>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td style="" colspan="6">
                                                        <table width="95%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td align="right" valign="middle" style="border-top: 1px; border-top-color: #BBBBBB;
                                                                    border-top-style: dashed; height: 1px;">
                                                                    <input id="Hidden3" type="hidden" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" style="width: 20%;" valign="top">
                                                        &nbsp;省份:
                                                    </td>
                                                    <td colspan="5" align="left" style="width: 100%; text-align: left" valign="top">
                                                        <asp:UpdatePanel ID="UpdatePanelProvince" runat="server" UpdateMode="Conditional">
                                                            <ContentTemplate>
                                                                <asp:CheckBox ID="cbProvinceAll" runat="server" Text="All" OnCheckedChanged="cbProvinceAll_CheckedChanged"
                                                                    AutoPostBack="True" Width="14%"></asp:CheckBox>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td style="" colspan="6">
                                                        <table width="95%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td align="right" height="1" valign="middle" style="border-top: 1px; border-top-color: #BBBBBB;
                                                                    border-top-style: dashed;">
                                                                    <input id="Hidden6" type="hidden" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" style="width: 20%; text-align: left" valign="top">
                                                        &nbsp;Active:
                                                    </td>
                                                    <td align="left" style="width: 959px" valign="middle">
                                                        <asp:CheckBox ID="ActiveCheckBox" runat="server" />
                                                    </td>
                                                    <td align="left" style="width: 19%" valign="middle">
                                                    </td>
                                                    <td align="left" style="width: 316px" valign="middle">
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                                <!---->
                            </td>
                        </tr>
                    </table>
                    <%-- </div>--%>
                </td>
            </tr>
        </table>
        <script language="javascript">
            var divReport = document.getElementById("divContent");

            if (divReport != null) {
                divReport.style.width = 780;
                divReport.style.height = 285;
            }
                
           
        </script>
    </div>
</asp:Content>
